GLContext.setAllowedApis

Sets the allowed APIs. When gdk_gl_context_realize() is called, only the allowed APIs will be tried. If you set this to 0, realizing will always fail.

If you set it on a realized context, the property will not have any effect. It is only relevant during gdk_gl_context_realize().

By default, all APIs are allowed.

class GLContext
void
setAllowedApis

Parameters

apis GdkGLAPI

the allowed APIs

Meta